from django.apps import AppConfig


class AppConfig(AppConfig):
    ## default_auto_field = 'django.db.models.BigAutoField'改为下面这行，否则会报错
    default_auto_field = 'django.db.models.AutoField'
    name = 'app'
